//
//  NSObject+LYTheme.m
//  artist
//
//  Created by Jay_Apple on 16/4/22.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "NSObject+LYTheme.h"
#import <objc/runtime.h>

@interface NSObject ()

@property (nonatomic, assign) BOOL needTheme;

@end

@implementation NSObject (LYTheme)



- (void)setUpThemeNotification{

    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(upDateTheme) name:LYLoginNotification object:nil];
    

}




- (void)resignThemeNotification{
    
    
        [[NSNotificationCenter defaultCenter] removeObserver:self name:LYLoginNotification object:nil];
    
    
}

@end
